home *** CD-ROM | disk | FTP | other *** search
/ Champak 146 / (Vol 146) Jan 07 2012.iso / Games / snowballs.swf / scripts / DefineSprite_83 / frame_4 / DoAction.as
Text File  |  2012-01-07  |  362b  |  24 lines

  1. y = _Y;
  2. x = _X;
  3. boxx = getProperty("/hands", _X);
  4. boxy = getProperty("/hands", _Y);
  5. if(boxx - "25" < x)
  6. {
  7.    if(x < boxx + "25")
  8.    {
  9.       if(boxy - "80" < y)
  10.       {
  11.          if(y < boxy - "40")
  12.          {
  13.             gotoAndPlay(76);
  14.          }
  15.       }
  16.    }
  17. }
  18. if("430" < y)
  19. {
  20.    gotoAndPlay(6);
  21. }
  22. y += eval("/:speed") * "1.25";
  23. _Y = y;
  24.